package com.hkts.beltweigher.master.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.sql.Date;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author hml
 * @since 2024-04-10
 */
public class YbClassesAccumulate extends Model<YbClassesAccumulate> {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 日期
     */
    private String dateTime;
    /**
     * 班次标识
     */
    private String classes;
    /**
     * 仪表名称
     */
    private String instrumentName;
    /**
     * 数值
     */
    private Float classesValue;
    /**
     * 调整时间
     */
    private LocalDateTime modifyTime;
    /**
     * 用户的班次名称
     */
    private String classesName;

    private Date statisticsDate;

    public Date getStatisticsDate() {
        return statisticsDate;
    }

    public void setStatisticsDate(Date statisticsDate) {
        this.statisticsDate = statisticsDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public Float getClassesValue() {
        return classesValue;
    }

    public void setClassesValue(Float classesValue) {
        this.classesValue = classesValue;
    }

    public LocalDateTime getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(LocalDateTime modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getClassesName() {
        return classesName;
    }

    public void setClassesName(String classesName) {
        this.classesName = classesName;
    }

    public static final String ID = "id";

    public static final String DATE = "date";

    public static final String CLASSES = "classes";

    public static final String INSTRUMENT_NAME = "instrument_name";

    public static final String CLASSES_VALUE = "classes_value";

    public static final String MODIFY_TIME = "modify_time";

    public static final String CLASSES_NAME = "classes_name";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "YbClassesAccumulate{" +
                ", id=" + id +
                ", date=" + dateTime +
                ", classes=" + classes +
                ", instrumentName=" + instrumentName +
                ", classesValue=" + classesValue +
                ", modifyTime=" + modifyTime +
                ", classesName=" + classesName +
                "}";
    }
}
